package edu.tms.bean;


public class Dorm {
	/**
	 * 寝室id
	 */
	private Integer dormId;

	/**
	 * 寝室标号或名称
	 */
	private String dormName;

	/**
	 * 寝室人数
	 */
	private Integer dormSize;

	/**
	 * 寝室入住状态 1未入住 2入住
	 */
	private Integer checkInState;

	/**
	 * 寝室状态 1正常 2冻结
	 */
	private Integer dormState;


	public Dorm () {
		super();
	}

	public Dorm (Integer dormId,String dormName,Integer dormSize,Integer checkInState,Integer dormState) {
		this.dormId = dormId;
		this.dormName = dormName;
		this.dormSize = dormSize;
		this.checkInState = checkInState;
		this.dormState = dormState;
	}

	public Integer getDormId() {
		return this.dormId;
	}

	public void setDormId(Integer dormId) {
		this.dormId = dormId;
	}

	public String getDormName() {
		return this.dormName;
	}

	public void setDormName(String dormName) {
		this.dormName = dormName;
	}

	public Integer getDormSize() {
		return this.dormSize;
	}

	public void setDormSize(Integer dormSize) {
		this.dormSize = dormSize;
	}

	public Integer getCheckInState() {
		return this.checkInState;
	}

	public void setCheckInState(Integer checkInState) {
		this.checkInState = checkInState;
	}

	public Integer getDormState() {
		return this.dormState;
	}

	public void setDormState(Integer dormState) {
		this.dormState = dormState;
	}

	@Override
	public String toString() {
		return "Dorm[dormId=" + dormId+ ", dormName=" + dormName + ", dormSize=" + dormSize + ", checkInState=" + checkInState + ", dormState=" + dormState + "]";
	}


}

